#include "Q5_8.h"

void q5_8_run()
{
	int *p = new int[COUNT];
	int a[COUNT];

	for (int i = 0; i < sizeof(a)/sizeof(int); i++)
	{
		a[i] = i;
	}
	for (int i = 0; i < sizeof(a)/sizeof(int); i++)
	{
		p[i] = i;
	}
	for (int i = 0; i < MAX(sizeof(a), sizeof(p))/sizeof(int); i++)
	{
		printf("%d %d\n", a[i], p[i]);
	}

	delete[] p;
}